package com.iwomy.secureplat.platform.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.iwomy.secureplat.common.core.util.R;
import com.iwomy.secureplat.platform.dto.BasicAuthorizationRecordDTO;
import com.iwomy.secureplat.platform.dto.DeviceModelRequestDTO;
import com.iwomy.secureplat.platform.entity.BasicAuthorizationRecordEntity;
import com.iwomy.secureplat.platform.vo.BasicAuthorizationRecordVO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

public interface BasicAuthorizationRecordService extends IService<BasicAuthorizationRecordEntity> {

	Page<BasicAuthorizationRecordVO> getBasicAuthorizationRecordPage(Page page, BasicAuthorizationRecordDTO basicAuthorizationRecordDTO);

	R newlyAdded(DeviceModelRequestDTO deviceModelRequestDTO);

	R newlyRemoveBatchByIds(Long[] ids);
}